Skip to content

Conversation

minael
Copy link
Member

@minael minael commented Nov 10, 2026

Added Playwright end-to-end tests for important user flows in Artex. The tests cover the core user flow, authentication, protected routes and gallery management. Added npm run test:e2e for running the tests.

All frontend tests, E2E tests and the production build pass locally.

Closes #89

@minael minael added this to the P2: #4 delivery milestone Nov 10, 2026
@minael minael requested a review from emmafre November 10, 2026 19:56
@minael minael self-assigned this Nov 10, 2026
@minael minael requested a review from a team as a code owner November 10, 2026 19:56
@minael minael linked an issue Nov 10, 2026 that may be closed by this pull request
7 tasks
@minael minael changed the base branch from main to dev November 10, 2026 19:56
Copy link
Member

@emmafre emmafre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All four E2E tests passed locally, and the acceptance criteria are met. Approved with two non-blocking suggestions:

  • Consider moving the e2e folder to the root directory, since these tests cover the entire system.
  • Configure a separate test database for future runs to avoid creating test users and galleries in the main database.

@minael
Copy link
Member Author

minael commented Nov 11, 2026

Implemented the review suggestions by moving the E2E tests and Playwright setup to the project root, and by introducing a separate artex_e2e_test database so E2E runs no longer affect the main database.

All 4 E2E tests pass locally after the changes.

Re-requesting review from @emmafre after these changes.

@minael minael requested a review from emmafre November 11, 2026 18:39
Copy link
Member

@emmafre emmafre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Ready for merge

@minael minael merged commit d0e4d3c into dev Nov 11, 2026
@minael minael deleted the 89-add-test-for-core-user-flow branch November 11, 2026 20:57
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add E2E test for core user flow
2 participants